<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <title>OpenLayers with jQuery Mobile</title>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
        <meta name="apple-mobile-web-app-capable" content="yes">

        <link rel="stylesheet" href="../css/jquery.mobile.min.css">
        <link rel="stylesheet" href="../css/style.mobile.css" type="text/css">

        <script src="../js/jquery/jquery.min.js"></script>
        <script src="../js/jquery/jquery.mobile.min.js"></script>
        <script src="../js/jquery/jquery.raty.min.js"></script>
        <script src="../js/openlayers/OpenLayers.mobile.js"></script>
        <script src="map.js"></script>
        <script src="vote.js"></script>
    </head>
    <body>
        <h1 id="title">OpenLayers with jQuery Mobile</h1>
        <div id="tags">
          mobile, jquery
        </div>
        <p id="shortdesc">
          Using jQuery Mobile to display an OpenLayers map.
        </p>

        <div data-role="page" id="mappage">
          <div data-role="content">
            <div id="map"></div>
          </div>

          <div data-role="footer">
            <a href="#" id="locate" data-icon="locate" data-role="button">Locate</a>
            <a href="#layerspage" data-icon="layers" data-role="button">Layers</a>
          </div>
          <div id="navigation" data-role="controlgroup" data-type="vertical">
            <a href="#" data-role="button" data-icon="plus" id="plus"
               data-iconpos="notext"></a>
            <a href="#" data-role="button" data-icon="minus" id="minus"
               data-iconpos="notext"></a>
          </div>
        </div>

        <div data-role="page" id="layerspage">
          <div data-role="header">
            <h1>Layers</h1>
          </div>
          <div data-role="content">
            <ul data-role="listview" data-inset="true" data-theme="d" data-dividertheme="c" id="layerslist">
            </ul>
          </div>
        </div>

        <div data-role="dialog" id="popup">
            <div data-position="inline" data-theme="d" data-role="header">
                <h1>Details</h1>
                <br/>
            </div>
            <div data-theme="c" data-role="content">
                <ul id="details-list" data-role="listview"></ul>
            </div>
        </div>

        <div data-role="dialog" id="confirm">
            <div data-position="inline" data-theme="d" data-role="header">
                <h1>Your Vote</h1>
                <br/>
            </div>
            <form action"test.php" method="post">
               <input name="name" type="text" value="" />
            </form>
        </div>
    </body>
</html>
